package org.test;

public abstract class MapObject implements HasLocation{
	
	private Location location;  //położenie
	
	public Location getLocation() {
		return location;
	}
	
	public void setLocation(Location location) {
		this.location = location;
		location.setObject(this);
	}

	public abstract void collision(MapObject object);
	
}
